<?php
namespace app\sysAdmin\controller;
use app\common\Base;

class SoftReg extends Base {
	
	public function index() {
		return $this->fetch();
	}

	public function query() {
			$result = Db::table("注册信息")->select();
			return selectResult($result);
	}

	public function addUpdate() {
		$all = request()->param();
		try {
			update('注册信息', $all);
			return "000";
		} catch (Exception $e) {
			echo $e->getMessage();
		}
		return "999";
	}

}
